package com.strangebreeds.therefromhere.engine;

import java.util.*;
import java.io.*;

public class Page implements Serializable
{
	private static final long serialVersionUID = 12272004;
	
	private List<String> ancestors = new ArrayList<String>();
	
	private String pageName;

	private boolean isTop = false;
	
	public Page(String pageName, List<String> ancestors)
	{
		this.pageName = pageName;
		this.ancestors = ancestors;
	}
	
	public Page(String pageName, boolean isTop)
	{
		this.pageName = pageName;
		this.isTop = isTop;
	}
	
	public List<String> getAncestors()
	{
		return ancestors;
	}

	public String getPageName()
	{
		return pageName;
	}
	
	public boolean isTop()
	{
		return isTop;
	}
}
